package com.example.nettyrpcdemo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class GameConfig {
    @Value("${serverId}")
    private int serverId;

    @Value("${rpcPort}")
    private int rpcPort;
}
